package sakila.dto.film;

import java.util.Date;

/**
 * The possible languages that films can have for their languages and original language value.
 */
public class LanguageDTO extends BaseDTO
{

	/**
	 * Instantiates a new language.
	 */
	public LanguageDTO()
	{
		super();
	}

	/**
	 * Instantiates a new language.
	 * 
	 * @param id the id
	 * @param languageName the language name
	 * @param lastUpdate the last update
	 */
	public LanguageDTO(int id, String languageName, Date lastUpdate)
	{
		super(id, languageName, lastUpdate);
	}

	/**
	 * (@Inheritance doc).
	 * 
	 * @return the name
	 * @see sakila.dto.film.BaseDTO#getName()
	 */
	public String getName()
	{
		return super.getName();
	}

	/**
	 * (@Inheritance doc)
	 * 
	 * @see sakila.dto.film.BaseDTO#setName(java.lang.String)
	 */
	public void setName(String name)
	{
		super.setName(name);
	}

	/**
	 * (@Inheritance doc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	public String toString()
	{
		return this.getName();
	}
}
